<?php

class datijiluModule extends Model
{
    public function __construct()
    {
        parent::__construct("datijilu");
    }

    /**
     * 添加
     * @date: 2019年6月19日 下午5:28:12
     * @param: variable
     * @return:
     * @author: 龚华尧
     */
    public function insertlist($yonghu, $laiyuanbianhao, $data)
    {
        if (count($data) > 0) {
            foreach ($data as $k => $v) {
                $v['yonghu'] = $yonghu;
                $v['laiyuanbianhao'] = $laiyuanbianhao;
                $this->insert($v);
            }
        }
    }

}